const ENV = {
  //正式环境（正式数据库）
  prod: {
    host: "127.0.0.1",
    port: "9091",
    mode: "prod",
    chihiroUser: {
      expires: 6, //jw秘钥失效时间，单位小时
      secret: "hedaodaolikefish",
    },
    mysql: {
      host: "mysqlapmengine.service.yctxy",
      port: "3306",
      user: "chihiro_rw",
      password: "c45D59YardD1a2w=",
      dbname: "chihiro",
    },
    mailConfig: {
      // taskTime: "0 45 9 * * *",
      // sendAddress: "heyingjie@yiche.com",
      taskTime: "0 0 1 * * *",
      sendAddress: "jiangjiawen@yiche.com,wubq@yiche.com,tianyk@yiche.com,chencm@yiche.com,zhousheng@yiche.com,cais@yiche.com,liuhualong@yiche.com,houxk@yiche.com,zhangyihui1@yiche.com,heyingjie@yiche.com",
    },
  },
  // 测试环境（测试数据库）
  qa: {
    host: "127.0.0.1",
    port: "9091",
    mode: "qa",
    chihiroUser: {
      expires: 720, //jw秘钥失效时间，单位小时
      secret: "hedaodaolikefish",
    },
    mysql: {
      host: "192.168.87.59",
      port: "5009",
      user: "root",
      password: "Ba9cUk@2&8",
      dbname: "chihiro",
    },
    mailConfig: {
      taskTime: "0 30 22 * * *",
      sendAddress: "heyingjie@yiche.com",
      // sendAddress:'jiangjiawen@yiche.com,wubq@yiche.com,tianyk@yiche.com,chencm@yiche.com,zhousheng@yiche.com,cais@yiche.com,liuhualong@yiche.com,houxk@yiche.com'
    },
  },
  //测试脚本运行使用的配置
  test: {
    host: "127.0.0.1",
    port: "9099",
    mode: "test",
    chihiroUser: {
      expires: 720, //jw秘钥失效时间，单位小时
      secret: "hedaodaolikefish",
    },
    mysql: {
      host: "192.168.87.59",
      port: "5009",
      user: "root",
      password: "Ba9cUk@2&8",
      dbname: "chihiro",
    },
    mailConfig: {
      taskTime: "30 08 12 * * *",
      sendAddress: "heyingjie@yiche.com",
    },
  },
};

module.exports = {
  ENV,
};
